//
//  GuanYuViewController.m
//  UI_HLJ_Frame
//
//  Created by dlios on 15-7-1.
//  Copyright (c) 2015年 毕宏伟. All rights reserved.
//

#import "GuanYuViewController.h"

#define WIDTH self.view.frame.size.width
#define HEIGHT self.view.frame.size.height

@interface GuanYuViewController ()

@end

@implementation GuanYuViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    self.title = @"关于我们";
    
    // 背景图片
    UIImage *image = [UIImage imageNamed:@"关于背景图片"];
    UIImageView *imageView1 = [[UIImageView alloc] initWithImage:image];
    imageView1.frame = CGRectMake(0, 0, WIDTH, HEIGHT);
    [self.view addSubview:imageView1];
    [imageView1 release];
    
    // 图片
    UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(WIDTH * 2.8 / 7, HEIGHT * 1.1 / 3, WIDTH / 5, HEIGHT / 9)];
    [self.view addSubview:imageView];
    imageView.backgroundColor = [UIColor orangeColor];
    imageView.image = [UIImage imageNamed:@"关于图"];
    [imageView release];
    
    
    UILabel *labelOne = [[UILabel alloc] initWithFrame:CGRectMake(WIDTH * 2.3 / 7, HEIGHT * 1 / 2, WIDTH * 2 / 3, HEIGHT / 25)];
    [self.view addSubview:labelOne];
//    labelOne.backgroundColor = [UIColor orangeColor];
    labelOne.text = @"为您打造最完美的婚礼";
    labelOne.textColor = [UIColor blackColor];
    labelOne.font = [UIFont systemFontOfSize:15];
    [labelOne release];
    
    // 显示版本信息的label
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(WIDTH * 1.5 / 4, HEIGHT * 3.1 / 5, WIDTH / 3, HEIGHT / 30)];
    [self.view addSubview:label];
//    label.backgroundColor = [UIColor orangeColor];
    label.text = @" 版本:1.0";
    label.font = [UIFont systemFontOfSize:13];
    [label release];
    
    // 显示网易邮箱的label
    UILabel *label1 = [[UILabel alloc] initWithFrame:CGRectMake(WIDTH * 1 / 4, HEIGHT * 3.3 / 5 , WIDTH * 2 / 3, HEIGHT / 30)];
    [self.view addSubview:label1];
//    label1.backgroundColor = [UIColor orangeColor];
    label1.text = @" 网易邮箱:sanwlanou@163.com";
    label1.font = [UIFont systemFontOfSize:13];
    [label1 release];
    
    
    
    
    // 显示婚礼纪地址的label
    UILabel *labelHL = [[UILabel alloc] initWithFrame:CGRectMake(WIDTH * 1 / 4, HEIGHT * 3.5 / 5, WIDTH * 2 / 3, HEIGHT / 30)];
    [self.view addSubview:labelHL];
//    labelHL.backgroundColor = [UIColor orangeColor];
    labelHL.text = @" 婚礼纪 : www.hunliji.com";
    labelHL.font = [UIFont systemFontOfSize:13];
    [labelHL release];
    
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
